<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="pc/include :: header('列表')" />
</head>
<body>
<th:block th:include="pc/include :: top" />
<div class="iw">
    <div class="crumbs">
        <p>当前位置：<a href="/static">首页</a> > <a th:href="@{'/user/'+${sysmember.userid}}">用户</a></p>
    </div>
    <div class='user-header'>
        <div class="user-photo"><img th:src="${sysmember.photo!=null} ? ${sysmember.photo} : @{/img/photo.png}" /></div>


    </div>
    <div class="user-body">
        <div class="user-left"></div>
        <div class="user-right"></div>
    </div>
</div>
<th:block th:include="pc/include :: footer" />

<script th:src="@{/js/ui_stable/ui_stable.js}"></script>
<script>
    var url = "/user/getdoc/[(${sysmember.userid})]";
    var opts = {
        pagesize: 10,
        pagecurrent: 1
    };
    var setting = {
        header: '<td style="min-width:30px;color:#C35300;">Ta上传的文档</td>' +
            '<td d="typename" class="ui-table-sort" style="min-width:60px">分类</td>' +
            '<td d="preview" class="ui-table-sort" style="min-width:60px;">免费</td>' +
            '<td d="readpay" class="ui-table-sort" style="min-width:60px;">阅读币</td>' +
            '<td d="downpay" class="ui-table-sort" style="min-width:60px;">下载币</td>' +
            '<td d="isimp" class="ui-table-sort" style="min-width:60px;">标识</td>' +
            '<td d="readcount" class="ui-table-sort" style="min-width:60px;">阅读量</td>' +
            '<td d="downcount" class="ui-table-sort" style="min-width:60px;">下载量</td>' +
            '<td d="insertdate" class="ui-table-sort" style="min-width:60px;">日期</td>',

        body: '<td><i class="#exten"></i><a href="/detail.htm?docid=#docid.html" target="_blank">#title</a></td>' +
            '<td>#typename</td>' +
            '<td>#preview页</td>' +
            '<td>#readpay</td>' +
            '<td>#note</td>' +
            '<td>#info</td>' +
            '<td>#readcount</td>' +
            '<td>#downcount</td>' +
            '<td>#keyword</td>'
    };
    $(".user-left").ui_stable(url, opts, setting);
</script>